<?php

//防止恶意调用
if (!defined('IN_MOD'))
{
    die('Hacking attempt');
}

// 配置列表
if($configinfo['ajaxname'] == '配置列表')
{	
	$result = array('error' => 0, 'message' => '', 'content' => '', 'count' => '', 'ajaxid' => '');
	
	// 配置数据
	$result['error'] = 0;
	$result['message'] = "查询成功！";
	$result['content'] = $listdata;
	$result['count'] = $listdata[0]['count'];
	$result['ajaxid'] = $modulewhere["classid"];
	
	echo json_encode($result);
	die;exit;
}

// 配置列表
if($configinfo['ajaxname'] == '配置列表')
{	
	$result = array('error' => 0, 'message' => '', 'content' => '', 'count' => '', 'ajaxid' => '');
	
	// 配置数据
	$result['error'] = 0;
	$result['message'] = "查询成功！";
	$result['content'] = $listdata;
	$result['count'] = $listdata[0]['count'];
	$result['ajaxid'] = $modulewhere["classid"];
	
	echo json_encode($result);
	die;exit;
}

// 配置列表
if($configinfo['ajaxname'] == '配置列表')
{	
	$result = array('error' => 0, 'message' => '', 'content' => '', 'count' => '', 'ajaxid' => '');
	
	// 配置数据
	$result['error'] = 0;
	$result['message'] = "查询成功！";
	$result['content'] = $listdata;
	$result['count'] = $listdata[0]['count'];
	$result['ajaxid'] = $modulewhere["classid"];
	
	echo json_encode($result);
	die;exit;
}

?>